package jjava.ch01;

import java.awt.Frame; 
import java.awt.Graphics; 

public class jjava extends Frame  {

	public jjava (String title) { 
		super(title); 
		setSize(300,200); 
		setVisible(true); 
	} 
	
	public void paint(Graphics g) {
		g.drawString("Welcome to JAVA!", 50, 50);
	}

	public static void main(String[] args) {
		new jjava("Welcome to JAVA!");
	}

}